package com.easylinkin.linkappapi.openapi.dto;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("system_docking")
public class SystemDocking extends Model<SystemDocking> {
    @TableId(type = IdType.AUTO)
    
    private Long id;

    /**
     * 对接的系统名称
     */
    
    private String sysName;

    /**
     * appid
     */
    private String appid;

    /**
     * appsecret
     */
    private String secret;

    
    private String tenantId;

    private String createor;

    private String modifier;

    
    private Date createTime;

    
    private Date modifyTime;

    @TableField(exist = false)
    private List<SystemDockDevice> systemDockDeviceList;
    
    @TableField(exist = false)
    private String deivceCode;
    @TableField(exist = false)
    private Integer isSync;

    private String url;

    @TableField(updateStrategy=FieldStrategy.IGNORED)
    private String token;
    @TableField(updateStrategy=FieldStrategy.IGNORED)
    private String refreshToken;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取对接的系统名称
     *
     * @return sys_name - 对接的系统名称
     */
    public String getSysName() {
        return sysName;
    }

    /**
     * 设置对接的系统名称
     *
     * @param sysName 对接的系统名称
     */
    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    /**
     * 获取appid
     *
     * @return appid - appid
     */
    public String getAppid() {
        return appid;
    }

    /**
     * 设置appid
     *
     * @param appid appid
     */
    public void setAppid(String appid) {
        this.appid = appid;
    }

    /**
     * 获取appsecret
     *
     * @return secret - appsecret
     */
    public String getSecret() {
        return secret;
    }

    /**
     * 设置appsecret
     *
     * @param secret appsecret
     */
    public void setSecret(String secret) {
        this.secret = secret;
    }

    /**
     * @return tenant_id
     */
    public String getTenantId() {
        return tenantId;
    }

    /**
     * @param tenantId
     */
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * @return createor
     */
    public String getCreateor() {
        return createor;
    }

    /**
     * @param createor
     */
    public void setCreateor(String createor) {
        this.createor = createor;
    }

    /**
     * @return modifier
     */
    public String getModifier() {
        return modifier;
    }

    /**
     * @param modifier
     */
    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return modify_time
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * @param modifyTime
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
